package org.gr.ias.user.pojo;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @Author : zhaoming.li
 * @Date : 2018/8/16 11:20
 * @Description : 用于封装登录表单数据的POJO
 **/
@Data
public class LoginFormData {
    @NotBlank
    private String userName;
    @NotBlank
    private String password;
//    @NotBlank
//    private String verifyCode;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
